d50ecc38a3e0f5405bcf14b22934e7a89a190f6e,hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalDirAllocator.java,TestLocalDirAllocator,test3,#,152

Before Change


      validateTempDirCreation(nextDirIdx);

      // change buffer directory 2 to be read only
      new File(BUFFER_DIR[4]).setReadOnly();
      validateTempDirCreation(3);
      validateTempDirCreation(3);
    } finally {

After Change


      validateTempDirCreation(buildBufferDir(ROOT, nextDirIdx));

      // change buffer directory 2 to be read only
      new File(new Path(dir4).toUri().getPath()).setReadOnly();
      validateTempDirCreation(dir3);
      validateTempDirCreation(dir3);
    } finally {